<div class="khoas view">
<h2><?php  __('Khoa');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $khoa['Khoa']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Tenkhoa'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $khoa['Khoa']['tenkhoa']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ghichu'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $khoa['Khoa']['ghichu']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Khoa', true), array('action' => 'edit', $khoa['Khoa']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Delete Khoa', true), array('action' => 'delete', $khoa['Khoa']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $khoa['Khoa']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Khoas', true), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Khoa', true), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Chidoancbs', true), array('controller' => 'chidoancbs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Chidoancb', true), array('controller' => 'chidoancbs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Chidoansvs', true), array('controller' => 'chidoansvs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Chidoansv', true), array('controller' => 'chidoansvs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Chiphikhoas', true), array('controller' => 'chiphikhoas', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Chiphikhoa', true), array('controller' => 'chiphikhoas', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Khenthuongkyluats', true), array('controller' => 'khenthuongkyluats', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Khenthuongkyluat', true), array('controller' => 'khenthuongkyluats', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Phongtraokhoas', true), array('controller' => 'phongtraokhoas', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Phongtraokhoa', true), array('controller' => 'phongtraokhoas', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php __('Related Chidoancbs');?></h3>
	<?php if (!empty($khoa['Chidoancb'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Khoa Id'); ?></th>
		<th><?php __('Tenchidoan'); ?></th>
		<th><?php __('Ghichu'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($khoa['Chidoancb'] as $chidoancb):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $chidoancb['id'];?></td>
			<td><?php echo $chidoancb['khoa_id'];?></td>
			<td><?php echo $chidoancb['tenchidoan'];?></td>
			<td><?php echo $chidoancb['ghichu'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'chidoancbs', 'action' => 'view', $chidoancb['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'chidoancbs', 'action' => 'edit', $chidoancb['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'chidoancbs', 'action' => 'delete', $chidoancb['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $chidoancb['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Chidoancb', true), array('controller' => 'chidoancbs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Chidoansvs');?></h3>
	<?php if (!empty($khoa['Chidoansv'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Khoahoc Id'); ?></th>
		<th><?php __('Khoa Id'); ?></th>
		<th><?php __('Tenchidoan'); ?></th>
		<th><?php __('Ghichu'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($khoa['Chidoansv'] as $chidoansv):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $chidoansv['id'];?></td>
			<td><?php echo $chidoansv['khoahoc_id'];?></td>
			<td><?php echo $chidoansv['khoa_id'];?></td>
			<td><?php echo $chidoansv['tenchidoan'];?></td>
			<td><?php echo $chidoansv['ghichu'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'chidoansvs', 'action' => 'view', $chidoansv['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'chidoansvs', 'action' => 'edit', $chidoansv['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'chidoansvs', 'action' => 'delete', $chidoansv['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $chidoansv['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Chidoansv', true), array('controller' => 'chidoansvs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Chiphikhoas');?></h3>
	<?php if (!empty($khoa['Chiphikhoa'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Loaichiphi Id'); ?></th>
		<th><?php __('Khoa Id'); ?></th>
		<th><?php __('Ngaynhan'); ?></th>
		<th><?php __('Sotien'); ?></th>
		<th><?php __('Lydo'); ?></th>
		<th><?php __('Nguoinhantien'); ?></th>
		<th><?php __('Ghichu'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($khoa['Chiphikhoa'] as $chiphikhoa):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $chiphikhoa['id'];?></td>
			<td><?php echo $chiphikhoa['loaichiphi_id'];?></td>
			<td><?php echo $chiphikhoa['khoa_id'];?></td>
			<td><?php echo $chiphikhoa['ngaynhan'];?></td>
			<td><?php echo $chiphikhoa['sotien'];?></td>
			<td><?php echo $chiphikhoa['lydo'];?></td>
			<td><?php echo $chiphikhoa['nguoinhantien'];?></td>
			<td><?php echo $chiphikhoa['ghichu'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'chiphikhoas', 'action' => 'view', $chiphikhoa['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'chiphikhoas', 'action' => 'edit', $chiphikhoa['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'chiphikhoas', 'action' => 'delete', $chiphikhoa['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $chiphikhoa['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Chiphikhoa', true), array('controller' => 'chiphikhoas', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Khenthuongkyluats');?></h3>
	<?php if (!empty($khoa['Khenthuongkyluat'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Loai Id'); ?></th>
		<th><?php __('Cap Id'); ?></th>
		<th><?php __('Khoa Id'); ?></th>
		<th><?php __('Hinhthuc Id'); ?></th>
		<th><?php __('Nguoinhan'); ?></th>
		<th><?php __('Lydo'); ?></th>
		<th><?php __('Ghichu'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($khoa['Khenthuongkyluat'] as $khenthuongkyluat):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $khenthuongkyluat['id'];?></td>
			<td><?php echo $khenthuongkyluat['loai_id'];?></td>
			<td><?php echo $khenthuongkyluat['cap_id'];?></td>
			<td><?php echo $khenthuongkyluat['khoa_id'];?></td>
			<td><?php echo $khenthuongkyluat['hinhthuc_id'];?></td>
			<td><?php echo $khenthuongkyluat['nguoinhan'];?></td>
			<td><?php echo $khenthuongkyluat['lydo'];?></td>
			<td><?php echo $khenthuongkyluat['ghichu'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'khenthuongkyluats', 'action' => 'view', $khenthuongkyluat['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'khenthuongkyluats', 'action' => 'edit', $khenthuongkyluat['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'khenthuongkyluats', 'action' => 'delete', $khenthuongkyluat['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $khenthuongkyluat['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Khenthuongkyluat', true), array('controller' => 'khenthuongkyluats', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Phongtraokhoas');?></h3>
	<?php if (!empty($khoa['Phongtraokhoa'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Khoa Id'); ?></th>
		<th><?php __('Cap Id'); ?></th>
		<th><?php __('Loaiphongtrao Id'); ?></th>
		<th><?php __('Tenphongtrao'); ?></th>
		<th><?php __('Ngaybatdau'); ?></th>
		<th><?php __('Ngayketthuc'); ?></th>
		<th><?php __('Thanhtich'); ?></th>
		<th><?php __('Ghichu'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($khoa['Phongtraokhoa'] as $phongtraokhoa):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $phongtraokhoa['id'];?></td>
			<td><?php echo $phongtraokhoa['khoa_id'];?></td>
			<td><?php echo $phongtraokhoa['cap_id'];?></td>
			<td><?php echo $phongtraokhoa['loaiphongtrao_id'];?></td>
			<td><?php echo $phongtraokhoa['tenphongtrao'];?></td>
			<td><?php echo $phongtraokhoa['ngaybatdau'];?></td>
			<td><?php echo $phongtraokhoa['ngayketthuc'];?></td>
			<td><?php echo $phongtraokhoa['thanhtich'];?></td>
			<td><?php echo $phongtraokhoa['ghichu'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'phongtraokhoas', 'action' => 'view', $phongtraokhoa['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'phongtraokhoas', 'action' => 'edit', $phongtraokhoa['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'phongtraokhoas', 'action' => 'delete', $phongtraokhoa['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $phongtraokhoa['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Phongtraokhoa', true), array('controller' => 'phongtraokhoas', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
